package com.ftg.learn.day08.manytomany;

import java.util.Arrays;

/**
 * 班级
 *
 * @author 布衣
 */
public class Clazz {

    String name;
    private String address;

    public Clazz(String name,String address){
        this.name = name;
        this.address = address;
    }

    @Override
    public String toString() {
        return "[name="+this.getName()+",sex="+this.getAddress()+"]";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
